import { RouteRecordRaw } from "vue-router";

/**
 * 错误页面相关路由
 */
export const errorRouters: Array<RouteRecordRaw> = [
  {
    path: "/403",
    name: "403",
    component: () => import("@/views/error-page/403.vue"),
    meta: {
      hideInMenu: true,
    },
  },
  {
    path: "/404",
    name: "404",
    component: () => import("@/views/error-page/404.vue"),
    meta: {
      hideInMenu: true,
    },
  },
  {
    path: "/418",
    name: "418",
    component: () => import("@/views/error-page/418.vue"),
    meta: {
      hideInMenu: true,
    },
  },
  {
    path: "/500",
    name: "500",
    component: () => import("@/views/error-page/500.vue"),
    meta: {
      hideInMenu: true,
    },
  },
];
